package com.anjbo.service.presentation.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.anjbo.bean.presentation.CirclePresentationDto;
import com.anjbo.dao.mort.presentation.CirclePresentationMapper;
import com.anjbo.service.presentation.CirclePresentationService;

@Service
public class CirclePresentationServiceImpl implements CirclePresentationService{

	@Resource
	private CirclePresentationMapper circlePresentationMapper;

	public int selectCount(CirclePresentationDto circlePresentationDto){
		return circlePresentationMapper.selectCount(circlePresentationDto);
	}
	public int add(CirclePresentationDto circlePresentationDto){
		return circlePresentationMapper.add(circlePresentationDto);
	}
	@Override
	public Map<String, Object> selectDetailById(Map<String, Object> pramMap) {
		return circlePresentationMapper.selectDetailById(pramMap);
	}
	@Override
	public List<CirclePresentationDto> selectCirclePresentationList(
			Map<String, Object> pramMap) {
		return circlePresentationMapper.selectCirclePresentationList(pramMap);
	}
	@Override
	public int updateSeeCount(Map<String, Object> pramMap) {
		return circlePresentationMapper.updateSeeCount(pramMap);
	}
}